<template>
    <div>
        <el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
            <el-tab-pane label="返回" name="goBack">返回</el-tab-pane>
            <el-tab-pane v-for="(tabItem,tabIndex) in tabData" :key="tabIndex" :label="tabItem.label" :name="tabItem.name">
                <component :is="tabItem.content"></component>
            </el-tab-pane>
        </el-tabs>
    </div>
</template>

<script setup>
import { useRouter } from 'vue-router'
let $router = useRouter()

</script>

<style lang="scss" scoped>

</style>